projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b7e390
)
gradient: plug a GtkCssValue refleak
author
Cosimo Cecchi
<cosimoc@gnome.org>
Tue, 16 Oct 2012 15:51:54 +0000
(11:51 -0400)
committer
Cosimo Cecchi
<cosimoc@gnome.org>
Tue, 16 Oct 2012 17:07:51 +0000
(13:07 -0400)
Since _gtk_symbolic_color_resolve_full() returns a reference to a
GtkCssValue.
gtk/gtkgradient.c
patch
|
blob
|
history
diff --git
a/gtk/gtkgradient.c
b/gtk/gtkgradient.c
index 3c16fca5a72d43b0ce3f4fc70e17ec27a8607572..d6d71323731cab94948e4f772bee7ec04df5d300 100644
(file)
--- a/
gtk/gtkgradient.c
+++ b/
gtk/gtkgradient.c
@@
-327,6
+327,7
@@
_gtk_gradient_resolve_full (GtkGradient *gradient,
{
rgba = *_gtk_css_rgba_value_get_rgba (val);
*dependencies = _gtk_css_dependencies_union (*dependencies, stop_deps);
+ _gtk_css_value_unref (val);
}
else
{